package com.gton.person.commons.excep;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @program: PersonalDesign
 * @description: 自定义异常处理
 * @author: GuoTong
 * @create: 2020-11-13 09:17
 **/
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class DIYException extends RuntimeException {

    //错误状态码
    protected Integer errorCode;
    //错误消息
    protected String errorMsg;

}
